Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manifest: Do not wrongly ascribe target to rust-src and friends #2087

Merged

Conversation

kinnison
Copy link
Contributor

Some components have no target (target="*") and as such when we
install them, we should not ascribe a target to them. Before this,
installing --profile complete would incorrectly show rust-src
as not installed, despite being so.

After this fix, anyone updating such a broken toolchain install must
first rustup component remove rust-src and then reinstall it either
before or after upgrading.

Fixes: #2081

Some components have no target (target="*") and as such when we
install them, we should not ascribe a target to them.  Before this,
installing `--profile complete` would incorrectly show `rust-src`
as not installed, despite being so.

After this fix, anyone updating such a broken toolchain install must
first `rustup component remove rust-src` and then reinstall it either
before or after upgrading.

Fixes: rust-lang#2081
@kinnison kinnison merged commit e827f7f into rust-lang:master Oct 26, 2019
@kinnison kinnison deleted the kinnison/fix-no-target-components branch October 26, 2019 12:29
@popzxc
Copy link

popzxc commented Oct 26, 2019

When approximately that will be released?

@kinnison
Copy link
Contributor Author

I don't currently have a timeline for 1.21 but maybe at or after Rustfest

@popzxc
Copy link

popzxc commented Oct 26, 2019

Sure, I'll be waiting for it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to add component rust-src with rustup 1.20.2
2 participants